<script>
    var arr=new Array();
    arr[0]="1";
    arr[1]="82";
    arr[2]="83";
    arr[3]="98";
    arr[4]="59";
    for (let i = 0; i < arr.length; i++) {
       console.log('第'+(i+1)+'位同学分数是:'+arr[i]);
    }
    console.log('数值长度位：'+arr.length)
</script>